package com.cloud.common.server.spring;

import org.springframework.beans.factory.annotation.Value;

public class AppConfig {

	@Value("${spring.application.name}")
	private String appName;
	@Value("${server.port}")
	private Integer port;
	@Value("${cloud.registery.address}")
	private String serverUrl;
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getServerUrl() {
		return serverUrl;
	}
	public void setServerUrl(String serverUrl) {
		this.serverUrl = serverUrl;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	
}
